home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / inet / internet-drafts / draft-onions-x400p772-822-mapping-00.txt < prev    next >
Text File  |  1993-09-07  |  12KB  |  423 lines

  1.  
  2.                              Internet Draft
  3.                  Mapping between X.400 P772 and RFC-822
  4.  
  5.                               Graeme Lunt
  6.                              Julian Onions
  7.  
  8.                                NEXOR Ltd
  9.                                 Oct 92
  10.  
  11. 1. Status of this Memo
  12.  
  13.    This document is an Internet Draft.  Internet Drafts are working
  14.    documents of the Internet Engineering Task Force (IETF), its Areas,
  15.    and its Working Groups.  Note that other groups may also distribute
  16.    working documents as Internet Drafts.
  17.  
  18.    Internet Drafts are valid for a maximum of six months and may be
  19.    updated, replaced, or obsoleted by other documents at any time.  (The
  20.    file 1id-abstracts.txt on nic.ddn.mil describes the current status of
  21.    each Internet Draft.) It is not appropriate to use Internet Drafts as
  22.    reference material or to cite them other than as a "work in
  23.    progress".
  24.  
  25. 2. Abstract
  26.  
  27.    This document describes an proposed standard to allow the exchange of
  28.    P772 military X.400 mail to RFC-822 text based mail. This allows
  29.    gateways to convert between the two provided certain criteria are
  30.    met.
  31.  
  32. 3. Introduction
  33.  
  34.    RFC-822 defines a protocol for the format of electronic messages
  35.    exchanged on the Internet. This protocol is text based an in very
  36.    common usage.
  37.  
  38.    P772 is a military specification defined in STANAG 4406 which defines
  39.    a number of extensions to the basic X.400 (1988) protocol for the
  40.    services required by military mail. The extensions are fairly small
  41.    and do not impact on security, which is already covered in X.400.
  42.  
  43.    This document is concerned with P772 version 1.0 published on
  44.    December 6, 1991. A set of possible syntaxes for version 1.4 which is
  45.    currently in draft status is included as in this document.
  46.  
  47.    This document allows where possible the mapping of the service ele-
  48.    ments between the two protocols. As RFC-822 does not have all the
  49.    services that P772 supports, this mapping mostly enables the
  50.  
  51.  
  52.  
  53. Lunt, Onions             Expires March 30, 1994         [Page 1]
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 92
  61.  
  62.  
  63.    intentions to be passed through the gateway so that RFC-822 reci-
  64.    pients can view them.  There is obviously no way a user with a stan-
  65.    dard RFC-822 based user agent can take action on these. This document
  66.    is built on and extends the RFC-1327 X.400 mapping specifically for
  67.    the P772 attributes.
  68.  
  69.    The document is primarily aimed at the ability to represent P772 mes-
  70.    sages in RFC-822, although it does allow RFC-822 users limited access
  71.    to P772 features.
  72.  
  73.    This mapping also allows a message that travels P772 - RFC-822 - P772
  74.    to mostly recover the original elements of service. Where new RFC-822
  75.    Headers are defined they are prefixed with the string P772- to dis-
  76.    tinguish them from any other extensions.
  77.  
  78.    It is unclear how much traffic there will be between the communities
  79.    using P772 and the existing RFC-822 community at this time. However,
  80.    such a document as this allows implementors of RFC-1327 based gate-
  81.    ways to "do something sensible" on the receipt of a P772 format mes-
  82.    sage.
  83.  
  84. 4. MTA Mappings
  85.  
  86.    P772 only defines one extra element of service at the P1 or MTA
  87.    level.  This is Priority-Level-Qualifier. This is reversibly mapped
  88.    into the new address header field P772-Priority-Level-Qualifier.
  89.    This field has the syntax of a labelled-integer described in RFC-
  90.    1327. It can have the values of
  91.  
  92.       low (0)
  93.       high (1)
  94.  
  95.    or for extensibility just a number
  96.  
  97.       (3)
  98.       (5)
  99.  
  100.    When reversing the mapping, just the number should be used.
  101.  
  102. 5. MTS Mappings
  103.  
  104.    P772 defines a number of extra elements to the basic P2 Header struc-
  105.    ture. These are principally mapped into new header fields in RFC-822.
  106.    These are discussed in turn. If any of these features are used, a new
  107.    header field must be introduced into the RFC-822 address
  108.  
  109.       P772-Version: 1.0
  110.  
  111.  
  112.  
  113.  
  114. Lunt, Onions             Expires March 30, 1994         [Page 2]
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 92
  122.  
  123.  
  124.    This identifies the version of P772 that is being carried.
  125.  
  126.    Exempted-Address.
  127.         This is mapped into the new RFC-822 field P772-Exempted-Address.
  128.         It has a syntax of a sequence of strings, which are separated by
  129.         the
  130.  
  131.            P772-Exempted-Address: Captain Picard & Worf & Tasha Ya
  132.  
  133.         More formally this is defined as a printable-string-sequence by
  134.         the following EBNF.
  135.  
  136.            printable-string-sequence ::=
  137.                 printablestring [ "&" printable-string-sequence ]
  138.  
  139.  
  140.    Extended-Authorisation-Info
  141.         This is mapped into the new RFC-822 field P772-Extended-
  142.         Authorisation-Info.  It has a syntax of 822.date-time, and is
  143.         mapped in the manner described in RFC-1327.  Examples might
  144.         include
  145.  
  146.      P772-Extended-Authorisation-Info:
  147.          Thu, 2 Sep 1993 08:58:50 +0100
  148.  
  149.  
  150.    Distribution-Codes
  151.         This is mapped into the new RFC 822 field
  152.         P772-Distribution-Codes.
  153.         It has a syntax composed of the following BNF
  154.  
  155.            distribution-code ::= sic-sequence "&" dist-code-sequence
  156.            sic-sequence ::= sic [ "#" sic-sequence ]
  157.            sic ::= printablestring
  158.  
  159.            dist-code-sequence ::= dist-code [ "#" dist-code-sequence ]
  160.            dist-code ::= printablestring
  161.  
  162.         An example might be
  163.  
  164.      P772-Distribution-Codes: ABC # DEF &
  165.          USS-Enterprise # USS-Intrepid
  166.  
  167.  
  168.    Handling-Instructions
  169.         This is mapped into the new RFC-822 field P772-Handling-
  170.         Instructions.  It has the syntax printable-string-sequence as
  171.         defined above.  An example might be
  172.  
  173.  
  174.  
  175. Lunt, Onions             Expires March 30, 1994         [Page 3]
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 92
  183.  
  184.  
  185.            P772-Handling-Instructions: beam down to planet & await instructions
  186.  
  187.  
  188.    Message-Instructions
  189.         This is mapped into the new RFC-822 field P772-Message-
  190.         Instructions.  The syntax is again printable-string-sequence.
  191.         An example might be
  192.  
  193.            P772-Message-Instructions: Take out of space pod & reconstitute
  194.  
  195.  
  196.    Codress-Message
  197.         This is mapped into the new RFC-822 header field P772-Codress-
  198.         Message.  It has a syntax of EBNF.numericstring as defined in
  199.         RFC-1327
  200.  
  201.            P772-Codress-Message: 23
  202.  
  203.  
  204.    OriginatorIdentifier
  205.         This is mapped into the new RFC-822 field P772-Originator-
  206.         Identifier.  It has a syntax of printablestring
  207.  
  208.            P772-Originator-Identifier: Mr Data
  209.  
  210.  
  211.    PrimaryPrecedence / CopyPrecedence
  212.         These attributes use the same syntax of labelled-integer and are
  213.         encoded into the new RFC-822 heading fields
  214.  
  215.            P772-Primary-Precedence: deferred(0)
  216.            P772-Copy-Precedence: flash(4)
  217.  
  218.  
  219.    MessageType
  220.         This is encoded into the new RFC-822 field P772-Message-Type.
  221.         It has a syntax described by the following EBNF.
  222.  
  223.            int-and-printablestring ::=
  224.                labelled-integer [ "=" printablestring ]
  225.  
  226.         The printablestring component is optional in this attribute, and
  227.         may be missed off if not present.
  228.  
  229.            P772-Message-Type: exercise(0) = space manoeuvre
  230.  
  231.  
  232.    OtherRecipientIndicator
  233.  
  234.  
  235.  
  236. Lunt, Onions             Expires March 30, 1994         [Page 4]
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 92
  244.  
  245.  
  246.         This is mapped into the new header field P772-Other-Recipient-
  247.         Indicator.  It has a syntax as follows
  248.  
  249.            int-and-ps-list ::=
  250.                int-and-printablestring [ "&" int-and-ps-list ]
  251.  
  252.         And example of this might be
  253.  
  254.            P772-Other-Recipient-Indicator:
  255.                information (0) = Commander W. Riker, Star Base XII &
  256.                action (1) = Lt. LaForge, Planet Recon Party
  257.  
  258.  
  259.    AcpMessageIdentifier
  260.         This is mapped into the new RFC-822 header field P772-Acp-
  261.         Message-Identifier.  The syntax is a simple printablestring
  262.  
  263.            P772-Acp-Message-Identifier:
  264.                41153.7.bridge.enterprise.sector34.milkyway
  265.  
  266.  
  267.    OriginatorPLAD
  268.         This is mapped into a new RFC-822 field with syntax printable-
  269.         string.
  270.  
  271.            P772-Originator-PLAD: Captains Chair, bridge, USS enterprise.
  272.  
  273.  
  274.    AddressListIndicator
  275.         Mapped into a new header field P772-Address-List-Indicator.
  276.         This has the following EBNF syntax.
  277.  
  278.            address-list-indicator::=
  279.                 int-and-printablestring "#"
  280.                 [ labelled-integer ] "#"
  281.                 [ labelled-integer ]
  282.                 [ "&" address-list-indicator ]
  283.  
  284.         This might result in the header field
  285.  
  286.            P772-Address-List-Indicator:
  287.                primaryAddressList (0) = ships-crew # action(0) # info(1)
  288.  
  289.  
  290.    PilotForwardingInfo
  291.         Mapped into a new header field P772-Pilot-Forwarding-Info.  It
  292.         has a syntax of
  293.  
  294.  
  295.  
  296.  
  297. Lunt, Onions             Expires March 30, 1994         [Page 5]
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 92
  305.  
  306.  
  307.            pilot-info ::=
  308.                labelled-integer "="
  309.                [ recipientlist ] "#"
  310.                [ printablestring *[ "%" printablestring ] ]
  311.            recipientlist ::= ??? [ "%" recipientlist ]
  312.  
  313.         If the security label is present, then this element cannot be
  314.         translated. In this case it is probably best to generate a
  315.         delivery report.  The definition of Recipient does not seem to
  316.         be defined.
  317.  
  318.            P772-Pilot-Forwarding-Info:
  319.                routine(1) = ???? # transport % open on planet
  320.  
  321.  
  322. 6. Mappings for the proposed 1.4 version of P772.
  323.  
  324.    There are not many changes need to encompass the proposed changes to
  325.    1.4. The possible syntaxes that change are defined here.  If 1.4 mes-
  326.    sages are being converted, a header of
  327.  
  328.       P772-Version: 1.4
  329.  
  330.    must be inserted.
  331.  
  332.    DistributionCodes
  333.         This mapping would be as before, except there is no second set
  334.         of strings. If the extensions in this X.400 element are present,
  335.         this is not mapped. The message may be rejected if required.
  336.         Alternatively, a gateway may implement specific extensions only.
  337.  
  338.    AddressListIndicator
  339.         The ORDescriptor present in this new attribute, will be mapped
  340.         as in RFC-1327 but will otherwise use the same mapping as above.
  341.  
  342.    ACP127NotificationRequest
  343.         This can be mapped into RFC-822 Header of P772-ACP127-
  344.         Notification-Request.  The syntax will be a comma separated list
  345.         of bits, in labelled-integer format.
  346.  
  347.            P772-ACP127-Notification-Request: acp127-nn
  348.  
  349.    Acp127NotificationResponse
  350.         This can be mapped into the RFC-822 Header
  351.         P772-ACP127-Notification-Response.
  352.         The syntax is as follows
  353.  
  354.            acp127notificationresponse ::=
  355.  
  356.  
  357.  
  358. Lunt, Onions             Expires March 30, 1994         [Page 6]
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 92
  366.  
  367.  
  368.                1*labelled-integer "#"
  369.                822.date-time "#"
  370.                [ printablestring ] "#" ; Acp127Recipient
  371.                [ printablestring ] "#" ; Acp127SuppInfo
  372.                address-list-indicator
  373.  
  374.         The two printable strings are the Acp127Recipient and
  375.         Acp127SuppInfo elements respectively.
  376.  
  377. 7. Security Considerations
  378.  
  379.    Security considerations are not discussed in this document.
  380.  
  381. 8. Authors' Addresses
  382.  
  383.    Graeme Lunt <g.lunt@nexor.co.uk>
  384.    Julian Onions <j.onions@nexor.co.uk>
  385.  
  386.    NEXOR Ltd
  387.    PO Box 132
  388.    Nottingham
  389.    NG7 2UU
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419. Lunt, Onions             Expires March 30, 1994         [Page 7]
  420.  
  421.  
  422.  
  423.